﻿<UserControl x:Class="StandardDataView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" >
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0" Orientation="Horizontal">
            <TextBlock Text="Team: " FontSize="24" />
            <TextBlock Text="{Binding Path=CurrentProcessor.TeamNumber}" FontSize="24" />
        </StackPanel>
        <TextBlock Grid.Row="1" Text="Printed strings:"/>
        <ListBox Grid.Row="2" ItemsSource="{Binding Path=CurrentProcessor.PrintedStrings}"/>
        <TextBlock Grid.Row="3" Text="Error strings:"/>
        <ListBox Grid.Row="4" ItemsSource="{Binding Path=CurrentProcessor.ErrorStrings}" />
    </Grid>
</UserControl>
